解决ubuntu报错“Failed to start sshd.service Unit sshd.service not found.”

开启ssh服务时报错找不到“sshd.service”,通过一句代码解决_failedtostartsshd.service:unitsshd.servicenotfound....